package com.regentsoft.cloudback.operateAdmin.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.regentsoft.cloudback.base.BaseMapper;
import com.regentsoft.cloudback.operateAdmin.entity.PdaMachineCode;

/**
 * 
 * @author czd
 *
 * @date 2017年11月25日
 *
 * @version 1.0
 */
public interface PdaMachineCodeMapper extends BaseMapper<PdaMachineCode, java.lang.String> {

	int selectByCode(String code);

	void deleteByCompanyIds(@Param("companyIds") List<String> companyIds);

	int deleteMachineCode(@Param("companyId")String companyId,@Param("code")String code,@Param("num")Integer num);

	int selectByCompanyId(@Param("code") String code,@Param("companyId") String companyId);

}
